addAll

(alias) function addAll(index: integer, values: collection<-T>): boolean

Deprecated

Use 'add_all' instead

Inserts all elements from a collection at the specified index. Fails if the specified index is out of bounds.

Alias

Alias target

Since

0.9.0

Parameters

index

The starting index at which to add the elements.

values

The collection containing elements to add.


(alias) function addAll(values: collection<-T>): boolean

Deprecated

Use 'add_all' instead

Adds all elements from another collection to this collection.

Alias

Alias target

Return

true if any of the specified elements was added to the collection, false if the collection was not modified.

Since

0.9.0

Parameters

values

The collection to add elements from.